package com.dcloud.streamweb.sysconfig.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.dcloud.streamweb.sysconfig.entity.SystemConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: system_config
 * @Author: jeecg-boot
 * @Date:   2024-07-11
 * @Version: V1.0
 */
public interface SystemConfigMapper extends BaseMapper<SystemConfig> {

    int insert(SystemConfig systemConfig);

    List<SystemConfig>  selectAllConfig(@Param("type") String type);

    SystemConfig selectConfigByKey(@Param("key") String key);

    int deleteByKey(@Param("key") String key);

    int updateByKey(SystemConfig systemConfig);
}
